home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000022_news@columbia.edu _Sat Feb 19 02:10:13 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id CAA14338
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 19 Feb 2000 02:10:13 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id BAA16815
  7.     for kermit.misc@watsun.cc.columbia.edu; Sat, 19 Feb 2000 01:42:08 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: gedau@isa.mim.com.au (George Dau)
  10. Subject: SUMMRY: how to run kermit on tty2 ?
  11. Organization: Mount Isa Mines - Isa Operations
  12. Message-ID: <38ae371e.174718962@158.54.6.109>
  13. Date: Sat, 19 Feb 2000 06:42:17 GMT
  14. To: kermit.misc@columbia.edu
  15.  
  16. fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
  17.  
  18. ]In article <38ab4350.609457834@158.54.6.109>,
  19. ]George Dau <gedau@isa.mim.com.au> wrote:
  20. ]: I have a Linux box set up just to be a serial console for a Sun box.
  21. ]: I start up kermit to connect to serial A and display the Sun
  22. ]: console.
  23.  
  24. ]You can also include the -S ("stay") command-line option so it doesn't
  25. ]exit.  You can also log the session, etc etc.
  26.  
  27. ]It's an interesting idea.  If you have a way of invoking C-Kermit that
  28. ]redirects both the standard input and standard output to/from tty1, it
  29. ]might work.
  30. ]
  31. ]Follow up to kermit-support@columbia.edu with details/problems, to spare 
  32. ]the newsgroup.  But if you do get it working, it's worth another posting.
  33.  
  34. Thanks Frank. The segfaults I reported were my own fault, as I
  35. suspected. I simply upgraded my libc, libm, libcrypt, libresolv and ld
  36. loader and all was well. I'd built the binary on a different
  37. distribution etc etc etc. The stallion card bit fell through, the
  38. owner decided to keep the card, so I never got to install it.
  39.  
  40. Thanks Fred. I found forktty and it does exactly what I was after. It
  41. was on sunsite.
  42.  
  43. So now I have a 486, 520Meg disk, 8Meg RAM, no NIC, no CD, just a bare
  44. bones junker that no-one wanted which can serve as a serial console
  45. to two Suns (toggle between them with <alt><f1> and <alt><f2>), but
  46. can also log POST results, Boot Prom results, etc to a file which
  47. can be e-mailed, kept, whatever. Also saved replacing the dumb
  48. terminal that had just failed, and freed up some space in the rack.
  49.  
  50. In /etc/inittab, I have
  51. c1:1234:once:/usr/bin/forktty -l /dev/tty1 -c "/usr/bin/kermit
  52. /etc/kermit.ttyS0"
  53. c2:1234:once:/usr/bin/forktty -l /dev/tty2 -c "/usr/bin/kermit
  54. /etc/kermit.ttyS1"
  55.  
  56. and have removed the normal getty's from tty1 and tty2. The files in
  57. /etc/kermit.ttySN just have the "set line" and "conn" commands in
  58. them, nothing spectacular.
  59. -- 
  60.  ,-,_|\  George Dau - Unix (Solaris, DEC Unix, Linux), Oracle, Internet.   __
  61. /    * \ Home: gedau@pobox.com         !  Any views or opinions expressed (OO)
  62. \_,--\_/ Work: gedau@isa.mim.com.au    !  above may be mine, but are NOT ( \/ )
  63.       v   WWW: http://pobox.com/~gedau !  necessarily those of M.I.M.     W--W